package com.cskaoyan.controller;

import com.cskaoyan.service.FootprintService;
import com.cskaoyan.vo.BaseRespVo;
import com.cskaoyan.vo.FootprintVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.xml.ws.Service;

/**
 * @description:
 * @author: libugu@cskaoyan.com
 * @date 2021/4/9 - 18:47
 */
@RestController
public class FootprintController {

    @Autowired
    FootprintService footprintService;

    @RequestMapping("admin/footprint/list")
    public BaseRespVo list(Integer page, Integer limit, String sort, String order) {

       FootprintVo footprintVo= footprintService.qurey(page,limit,sort,order);

       return BaseRespVo.ok(footprintVo);

    }
}
